﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Application;

/// <summary>
/// ServiceMapper
/// </summary>
public class DataConfigInputMapper : IRegister
{
    public void Register(TypeAdapterConfig config)
    {
        // 示例
        //config.ForType<__EFMigrationsHistory,__EFMigrationsHistoryDto>()
        //.Map(dest => dest.MigrationId, src => src.MigrationId)//
        //.Map(dest => dest.ProductVersion, src => src.ProductVersion)//
        //;

        // Description 数据配置
        //config.ForType<DataConfigInput,DataConfig>()
        //.Map(dest => dest.Id, src => src.Id)// ID
        //.Map(dest => dest.Key, src => src.Key)// 唯一标识Key
        //.Map(dest => dest.Name, src => src.Name)// 名称
        //.Map(dest => dest.Value, src => src.Value)// 值
        //.Map(dest => dest.Value2, src => src.Value2)// 值扩展
        //.Map(dest => dest.Value3, src => src.Value3)// 值3
        //.Map(dest => dest.Value4, src => src.Value4)// 值4
        //.Map(dest => dest.Value5, src => src.Value5)// 值5
        //.Map(dest => dest.GroupName, src => src.GroupName)// 分组
        //.Map(dest => dest.Sort, src => src.Sort)// 排序
        //.Map(dest => dest.IsEnable, src => src.IsEnable)// 是否启用
        //.Map(dest => dest.Remark, src => src.Remark)// 备注
        //.Map(dest => dest.ExtensionData, src => src.ExtensionData)// 扩展参数
        //.Map(dest => dest.CreatorUserId, src => src.CreatorUserId)// 创建用户ID
        //.Map(dest => dest.CreatorUserName, src => src.CreatorUserName)// 创建用户
        //.Map(dest => dest.CreationTime, src => src.CreationTime)// 创建时间
        //.Map(dest => dest.UpdateUserId, src => src.UpdateUserId)// 更新用户ID
        //.Map(dest => dest.UpdateUserName, src => src.UpdateUserName)// 更新用户
        //.Map(dest => dest.UpdateTime, src => src.UpdateTime)// 更新时间
        //.Map(dest => dest.IsDeleted, src => src.IsDeleted)// 默认假删除
        //.Map(dest => dest.DeletedUserId, src => src.DeletedUserId)// 删除用户ID
        //.Map(dest => dest.DeletedUserName, src => src.DeletedUserName)// 删除用户
        //.Map(dest => dest.DeletedTime, src => src.DeletedTime)// 删除时间
        //.Map(dest => dest.PKey, src => src.PKey)// PKey
        //;
    }
}